from rest_framework import routers
from news import views
router = routers.DefaultRouter()
router.register('cate', views.CateView)
router.register('news', views.NewsView)
urlpatterns = router.urls